s17dgf

s17dgf © Numerical Algorithms Group, 2002.

Purpose

S17DGF Airy functions Ai(z) and Ai' (z), complex z

Synopsis

[ai,nz,ifail] = s17dgf(z<,deriv,scale,ifail>)

Description

 
 This subroutine returns a value for the Airy function Ai(z) or 
 its derivative Ai'(z), where z is complex, -(pi) < arg z <= (pi).
                                                    _  
                                                2z\/z/3
 Optionally, the value is scaled by the factor e       .
 
 For very large |z|, argument reduction will cause total loss of 
 accuracy, and so no computation is performed. For slightly 
 smaller |z|, the computation is performed but results are 
 accurate to less than half of machine precision. If Re w is too 
 large, and the unscaled function is required, there is a risk of 
 overflow and so no computation is performed. In all the above 
 cases, a warning is given by the routine.
 

Parameters

s17dgf

Required Input Arguments:

z                                     complex

Optional Input Arguments:                       <Default>

deriv (1)                             string   'f'
scale (1)                             string   'u'
ifail                                 integer  -1

Output Arguments:

ai                                    complex
nz                                    integer
ifail                                 integer